using System;
using System.Collections.Generic;
using ns26;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("PowerSpellController")]
	public class PowerSpellController : SpellController
	{
		public Spell m_powerSpell => method_3<Spell>("m_powerSpell");

		public List<CardSoundSpell> m_powerSoundSpells => method_3<Class271<CardSoundSpell>>("m_powerSoundSpells")?.method_25();

		public int m_cardEffectsBlockingFinish => method_2<int>("m_cardEffectsBlockingFinish");

		public int m_cardEffectsBlockingTaskListFinish => method_2<int>("m_cardEffectsBlockingTaskListFinish");

		public PowerSpellController(IntPtr address, string className)
			: base(address, className)
		{
		}

		public PowerSpellController(IntPtr address)
			: this(address, "PowerSpellController")
		{
		}

		public new bool AddPowerSourceAndTargets(PowerTaskList taskList)
		{
			return method_11<bool>("AddPowerSourceAndTargets", new object[1] { taskList });
		}

		public new void OnProcessTaskList()
		{
			method_8("OnProcessTaskList");
		}

		public new void OnFinished()
		{
			method_8("OnFinished");
		}

		public void Reset()
		{
			method_8("Reset");
		}

		public Spell GetActorBattlecrySpell(Card card)
		{
			return method_14<Spell>("GetActorBattlecrySpell", new object[1] { card });
		}

		public bool ActivateActorBattlecrySpell()
		{
			return method_11<bool>("ActivateActorBattlecrySpell", Array.Empty<object>());
		}

		public bool CanActivateActorBattlecrySpell(Entity entity)
		{
			return method_11<bool>("CanActivateActorBattlecrySpell", new object[1] { entity });
		}

		public CardEffect InitEffect(Card card)
		{
			return method_14<CardEffect>("InitEffect", new object[1] { card });
		}

		public bool ActivateCardEffects()
		{
			return method_11<bool>("ActivateCardEffects", Array.Empty<object>());
		}

		public void OnCardSpellFinished(Spell spell, object userData)
		{
			method_8("OnCardSpellFinished", spell, userData);
		}

		public void OnCardSpellStateFinished(Spell spell, SpellStateType prevStateType, object userData)
		{
			method_8("OnCardSpellStateFinished", spell, prevStateType, userData);
		}

		public void CardSpellFinished()
		{
			method_8("CardSpellFinished");
		}

		public void CardSpellNoneStateEntered()
		{
			method_8("CardSpellNoneStateEntered");
		}

		public bool InitPowerSpell(CardEffect effect, Card card)
		{
			return method_11<bool>("InitPowerSpell", new object[2] { effect, card });
		}

		public bool ActivatePowerSpell()
		{
			return method_11<bool>("ActivatePowerSpell", Array.Empty<object>());
		}

		public bool InitPowerSounds(CardEffect effect, Card card)
		{
			return method_11<bool>("InitPowerSounds", new object[2] { effect, card });
		}

		public bool ActivatePowerSounds()
		{
			return method_11<bool>("ActivatePowerSounds", Array.Empty<object>());
		}
	}
}
